package com.smartlbs.service;

import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.smartlbs.baseframe.web.ResponseInfo;
import com.smartlbs.dto.BetInfoDto;
import com.smartlbs.entity.BetInfo;
import com.smartlbs.entity.OtherBet.GE;
import com.smartlbs.vo.BetInfoVo;

/**
 * @author idaowei
 *
 */
public interface IBetInfoService {
	
	int insert(BetInfo info)throws Exception;
	int update(BetInfo info)throws Exception;
	int delete(long infoId)throws Exception;
	BetInfoVo findByid(long infoId)throws Exception;
	List<BetInfo> find(BetInfoDto infoDto); 
	/**
	 * @param ci 抓取数据
	 * @param gameId
	 * @throws Exception
	 */
	void insertBet(long ci,long gameId,String name) throws Exception;
	
	/**通过 赛事id查询押注项
	 * @param gameId
	 * @return
	 * @throws Exception
	 */
	List<BetInfoVo> findbyGameId(Long gameId) throws Exception;
	/** 导入excel时插入
	 * @param id
	 * @param betInfo
	 * @return
	 * @throws Exception
	 */
	void insert(long id,List<GE> ges) throws Exception;
	
}
